package r5.powtorka5;

public class Kierownik extends Pracownik {

	private double bonus;

	public Kierownik(String name) {
		super(name);
		this.bonus = 0;
	}

	public double getBonus() {
		return bonus;
	}

	public void setBonus(double bonus) {
		this.bonus = bonus;
	}
	
	@Override
	public String toString(){
		return this.name;
	}
	
	
}
